﻿using System.Windows.Input;

using EMan.Interface.Common;
using EMan.Interface.WorkTasks;

using TrueCode.Core.Aspects;
using TrueCode.Core.Diagnostics;

namespace EMan.BL.WorkTasks
{
  public class WorkTaskEditorPresenter : Presenter<IWorkTaskEditorView>, IWorkTaskEditorPresenter
  {
    private readonly WorkTaskEditable _workTaskEditable;
    
    public WorkTaskEditorPresenter( WorkTaskEditable workTaskEditable, [NotNull] IDiagnostic diagnostic ) : base( diagnostic )
    {
      _workTaskEditable = workTaskEditable;
    }

    public override void Dispose(){}

    public WorkTaskEditable WorkTask
    {
      get { return _workTaskEditable; }
    }

    public ICommand ChooseEmployee
    {
      get { throw new System.NotImplementedException(); }
    }
  }
}